package com.anlu.base;

import lombok.extern.slf4j.Slf4j;

/**
 * Hello world!
 *
 */
@Slf4j
public class App 
{
    public static void main( String[] args )
    {
        System.out.println( "Hello World!" );

        log.info("The knight receives an enchanted sword.");

        var enchantSword = new Sword(new SoulEatingEnchantment());

        enchantSword.wield();
        enchantSword.swing();
        enchantSword.unwield();


        log.info("The valkyrie receives an enchanted hammer.");
        var hammer = new Hammer(new FlyingEnchantment());
        hammer.wield();
        hammer.swing();
        hammer.unwield();
    }
}
